<!--
 * Copyright TLR Team, Inc. All Rights Reserved.
-->
<div class="tlr-assessment-container">
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-12" style="border-bottom: 1px solid #BEBEBE; padding-bottom: 10px; font-size: 20px;">
                <label class="col-sm-3 control-label">人体结构图</label>
            </div>
        </div>
        <label>
            此表用于记录受伤如擦伤或割伤<br>
            请使用人体结构图对受伤部位进行记录和相关描述。如服务对象手臂擦伤，请用字母X标明擦伤位置，并就伤口外观和颜色进行简要描述。如有需要，可以画图或为伤口拍照记录。<br>
            请确保在进行任何检查或为伤口处照之前获得对象同意。<br>
            如果对象有意识障碍而无法对是否检查给出决策，请依照良好做法准则执行，并确保所作出决定符合对象的最佳利益且受局限性较小——请参照护理计划书。
        </label>
        <table  class="table" style="padding: 15px;font-size: 16px;">
            <tbody>
                <tr>
                    <td width="150">服务对象姓名</td>
                    <td> <input type="text" class="form-control input-sm tlr-table-editbox" ng-model="assessment.signature.bodymapcustname"></td>
                </tr>
            </tbody>
        </table>
        <table  class="table" style="padding: 15px;font-size: 16px;">
            <tbody>
                <tr>
                    <td>员工签名:</td>
                    <td>
                        <input type="button" value="重签" ng-click="resetBodyMapSignature()" ng-if="!assessment.signature.bodymapSignature || assessment.signature.bodymapSignature === ''">
                        <input type="button" value="保存" ng-click="saveBodyMapSignature()" ng-if="!assessment.signature.bodymapSignature || assessment.signature.bodymapSignature === ''">
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <div id="signatureBodyMap" class="signaturePanel"></div>
                        <script>$('#signatureBodyMap').jSignature();</script>
                    </td>
                </tr>
                <tr>
                    <td width="150">记录时间</td>
                    <td>
                        <p class="input-group" style="width:220px;">
                            <input id="bodyMapRecordDate" ng-model="assessment.signature.bodymapservicetime" placeholder="yyyy-mm-dd hh:mm:ss" style="height: 34px;" class="form-control" type="text">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
                            <script type="text/javascript">
                                $("#bodyMapRecordDate").datetimepicker({
                                    language: "zh-CN",
                                    format: "yyyy-mm-dd hh:mm:ss",
                                    minView: 0,
                                    autoclose: true,
                                    todayBtn: true,
                                    pickerPosition: "bottom-left"
                                });
                            </script>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="col-sm-9">
            <input class="btn btn-default" style="float: right;" type="button" value="提交" ng-click="onSubmit('createassesment', false)">
            <input class="btn btn-default" style="float: right; margin-right: 30px;" type="button" value="上一页" ng-click="prevPage(16)">
        </div>
    </form>
</div>